package com.cskaoyan.service;

import com.cskaoyan.bean.MarketStorage;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.param.CommonData;

/**
 * 文件（图片）上传保存相关业务接口
 *
 * @author Chen_Feng
 * @since 2022/06/26 15:31
 */

public interface StorageService {

    // 上传图片后在数据库中保存对应信息
    MarketStorage create(MarketStorage storage);

    CommonData<MarketStorage> list(BaseParam baseParam, String key, String name);

    void update(MarketStorage marketStorage);

    void delete(MarketStorage marketStorage);
}
